#pragma once
#include <string>
#include <iostream>
#include <vector>
using namespace std;

class Token
{
public:
	int syn;
	string name;
	Token();
	Token(int  syn, string name)
	{
		this->syn = syn;
		this->name = name;
	}
	virtual string toRTL();
	string toString();
};

enum tag
{
	IF = 256,
	ELSE = 257,
	WHILE = 258,
	RETURN = 259,
	INT = 260,
	FLOAT = 261,
	VOID = 262,
	MAIN = 263,

	AND = 265,
	OR = 266,
	LORE = 267,
	BORE = 268,
	EQU = 269,
	ID = 270,
	DIGIT = 271,
	ARRAY,
	FUNCTION,
	NE,
	JUMP,
	PARAM,
	CALL,
};
